/***************************************************
 * utk filesystem
 * Author: sanghyeb lee slee91@utk.edu
 */

#ifndef DIR_H
#define DIR_H

struct direntry {
  inode_t inode;
  char filename[MAX_FILENAME];
};

#define SIZE_DIRENTRY sizeof(struct(direntry)) /*size of directory entry*/
#define MAX_DIRENTRY_BLOCK (BLOCK_SIZE/SIZE_DIRENTRY) /*dir entires/block*/
#endif
